-- GENERATED SPELL FOR [Silverbrook Worgen] --


function spell0_27417(pUnit, Event) --@Dash,Self--
pUnit:FullCastSpellOnTarget(36589,pUnit)
pUnit:RegisterEvent('Sorts_27417', 15349, 1)
end

function Sorts_27417(pUnit, Event)
local choix_sorts_27417 = math.random(0, 0)
if choix_sorts_27417 == 0 then
pUnit:RegisterEvent('spell0_27417', 1, 1)
end
end

function mob27417_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27417', math.random(1500, 3000), 1)
end

function mob27417_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27417_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27417_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27417, 1, 'mob27417_Action')
RegisterUnitEvent(27417, 2, 'mob27417_Leave')
RegisterUnitEvent(27417, 3, 'mob27417_Kill')
RegisterUnitEvent(27417, 4, 'mob27417_Die')
